package com.scoressystem.service;

import com.scoressystem.pojo.Score;
import com.scoressystem.pojo.Student;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface ScoreService {
    List<Score> selectAllScore(Map<String,Object> map);
    long selectAllScoreCount(Map<String,Object> map);
    int selectScoreByNameAndscore(Score score);
    int insertScore(Score score);
    int searchAllById(Score score);
    int deleteById(Score score);
    int updateScore(Score score);
    Integer searchScoreBySubjectName(Score score);
    Double selectSumScore(String stuId);
    List<Score> selectAllScoreByNo(Map<String,Object> map);
    long selectAllcountScoreByNo(Map<String,Object> map);
    int updateScore1(Score score);
}
